package org.example.springbootpra1.demos.services.impl;

import org.example.springbootpra1.demos.bean.ChargePlot;
import org.example.springbootpra1.demos.mapper.ChargePlotMapper;
import org.example.springbootpra1.demos.services.service.ChargePlotService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChargePlotServiceImpl implements ChargePlotService {

    @Autowired
    private ChargePlotMapper chargePlotMapper;

    @Override
    public List<ChargePlot> selectChargePlotList(ChargePlot chargePlot){

        List<ChargePlot> chargePlots = chargePlotMapper.selectChargePlotList(chargePlot);
        return chargePlots;
    }

}
